Techniques for providing virtual light adjustments to image data

ABSTRACT

Embodiments of the present disclosure can provide systems, methods, and computer-readable medium for providing virtual lighting adjustments to image data. A user interface for presenting and/or modifying image data may be provided via an electronic device. User input may be received that indicates a selection of a virtual lighting mode. Landmark points corresponding to a set of pixels of the image data may be identified based, at least in part, on depth measurement values of the set of pixels. One or more masks may be generated from the landmark points. One or more virtual lighting adjustments associated with the selected virtual lighting mode may be made to the image data using these masks (or the landmark points and an implied geometry of the landmark points). The adjusted/modified image may be presented to the user via the user interface at the electronic device.

CROSS-REFERENCES TO RELATED APPLICATIONS

This application claims the benefit of U.S. Provisional Application No.62/556,411 filed Sep. 9, 2017, the disclosure of which is incorporatedby reference herein in its entirety.

BACKGROUND

It has become more common place for people to take photos during thecourse of their daily lives. Many personal devices (e.g., smartphones,wearable devices, tablets, etc.) now include a digital camera, makingpicture taking an easily accessible activity. Standalone digital camerashave continued to be popular. Social media has spurned an increasedinterest in sharing experiences through images as users often postphotographs of themselves or loved ones to their social group. Thedigital cameras provided on most personal devices are not necessarily asrobust as professional photography equipment. Additionally, someprofessional equipment may be bulky and difficult to transport. Althoughpersonal devices and standalone digital cameras may include manyadvanced features, the user may lack the experience or training toeffectively utilize such features. Regardless of the medium used, it canoften be the case that the image captured by a user lacks qualitiesfound in professional photographs. To obtain professional qualityphotographs, one often must visit a studio or meet with a professionalphotographer. This can be inconvenient, or even cost-prohibitive, formany users.

SUMMARY

Embodiments of the present disclosure can provide systems, methods, andcomputer-readable medium for providing virtual lighting adjustments toimage data (e.g., digital photos). In some examples, a computing device(e.g., a laptop, a mobile phone or other portable, handheld device) maybe used to present user interfaces that enable the application ofvarious virtual lights. The virtual lights may be used to modify theimage data to produce a professional looking image without the cost orinconvenience of seeking out professional help.

In some embodiments, a computer-implemented method is disclosed forproviding virtual light adjustments to image data. The method maycomprise presenting, by an electronic device, a user interface formodifying image data. In some embodiments, the image data may includeheadshot image data. The method may further comprise receiving, at theuser interface, user input indicating selection of a virtual lightingmode. It should be appreciated that the user input indicating theselection of the virtual lighting mode may be received prior to, orsubsequent to image data being captured by an image capture device. Themethod may further comprise identifying a plurality of landmark pointsfrom the headshot image data. In some embodiments, each of the pluralityof landmark points may correspond to a set of pixels of the headshotimage data. The plurality of landmark points may individually beidentified based at least in part on depth measurement values associatedwith the set of pixels. The method may further comprise determining oneor more masks for the headshot image data. A mask of the one or moremasks may correspond to a set of pixel locations of an area of theheadshot image data. The one or more masks may be determined based atleast in part on the plurality of landmark points. The method mayfurther comprise modifying the headshot image data by applying a subsetof a plurality of virtual lighting adjustments to the headshot imagedata according to at least one of the one or more masks. The headshotimage data may be modified based at least in part on the selection ofthe virtual lighting mode selected and the depth measurement valuesassociated with the set of pixels.

In some embodiments, a computer-implemented method is disclosed forproviding virtual light adjustments to image data. The method maycomprise presenting, by an electronic device, a user interface formodifying image data (e.g., either at capture time or later inpost-processing). In some embodiments, the image data may includeheadshot image data. The method may further comprise receiving, at theuser interface, user input indicating selection of a virtual contourlighting mode. The method may further comprise identifying a pluralityof landmark points from the headshot image data. In some embodiments,each of the plurality of landmark points may correspond to a set ofpixels of the headshot image data. The method may further comprisedetermining one or more masks for the headshot image data. In someembodiments, a mask may correspond to a set of pixel locations of anarea of the headshot image data. The one or more masks may be determinedbased at least in part on the plurality of landmark points. The methodmay further comprise decreasing, according to the selection of thevirtual contour lighting mode, the perceived illumination striking afirst plurality of pixels associated with a side area of a first mask ofthe one or more masks. Decreasing the perceived illumination may causethe first plurality of pixels to appear darker, while still preservingskin-tone of the subject of the image data. The method may furthercomprise decreasing, according to the selection of the virtual contourlighting mode, luminance of a second plurality of pixels associated witha side of a nose area of a second mask of the one or more masks. Themethod may further comprise increasing, according to the selection ofthe virtual contour lighting mode, luminance of a third plurality ofpixels associated with the nose area of the second mask of the one ormore masks. The method may further comprise increasing, according to theselection of the virtual contour lighting mode, luminescence of a fourthplurality of pixels associated with a forehead area of a third mask ofthe one or more masks. The method may further comprise decreasing,according to the selection of the virtual contour lighting mode,luminance of a fifth plurality of pixels associated with the neck areaof the headshot image data.

In some embodiments, a computer-implemented method is disclosed forproviding virtual light adjustments to image data. The method maycomprise presenting, by an electronic device, a user interface formodifying image data. In some embodiments, the image data includingheadshot image data. The method may further comprise receiving, at theuser interface, user input indicating selection of a studio lightingmode. The method may further comprise identifying a plurality oflandmark points from the headshot image data. In some embodiments, eachof the plurality of landmark points may correspond to a set of pixels ofthe headshot image data. The method may further comprise determining oneor more masks for the headshot image data. In some embodiments, thesemasks may correspond to a set of pixel locations of an area of theheadshot image data. The masks may be determined based at least in parton the plurality of landmark points. The method may further compriseincreasing, according to the selection of studio lighting mode,luminance of a first plurality of pixels associated with a forehead areaof a first mask of the one or more masks. The method may furthercomprise increasing, according to the studio lighting mode selected,luminance of a second plurality of pixels associated with an under-eyearea of a second mask of the one or more masks. The method may furthercomprise increasing, according to the studio lighting mode selected,luminance of a third plurality of pixels associated with a side area ofa third mask of the one or more masks. The method may further compriseincreasing, according to the studio lighting mode selected, luminance ofa fourth plurality of pixels associated with nose area of a fourth maskof the one or more masks. The method may further comprise increasing,according to the studio lighting mode selected, luminance of a fifthplurality of pixels associated with a chin area of a fifth mask of theone or more masks. It should be appreciated that the masks describedherein may be separate masks. Alternatively, a single mask may beutilized in lieu of any suitable combination of the masks describedherein to increase/decrease luminance of any suitable combinations ofpixels.

The following detailed description together with the accompanyingdrawings will provide a better understanding of the nature andadvantages of the present disclosure.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a simplified block diagram illustrating an example process formodifying image data to provide virtual lighting adjustments asdescribed herein, according to at least one embodiment;

FIG. 2 is a simplified schematic diagram illustrating an example userinterface for presenting and modifying image data, according to at leastone embodiment;

FIG. 3 is a simplified schematic diagram illustrating an example set oflandmark points of an image, according to at least one embodiment;

FIG. 4 is a simplified schematic diagram illustrating an exampleconfiguration of landmark points associated with an image, according toat least one embodiment;

FIG. 5 is a simplified schematic diagram illustrating an example maskcorresponding to an image, according to at least one embodiment;

FIG. 6 is a simplified schematic diagram illustrating an exampleconfiguration of a set of lighting adjustment areas within a mask,according to at least one embodiment.

FIG. 7 is a simplified schematic diagram illustrating another exampleconfiguration of another set of lighting adjustment areas within a mask,according to at least one embodiment.

FIG. 8 is a simplified schematic diagram illustrating yet anotherlighting adjustment area, according to at least one embodiment.

FIG. 9 is a simplified schematic diagram illustrating additionallighting adjustment areas for performing virtual light removal,according to at least one embodiment.

FIG. 10 is a simplified schematic diagram illustrating a shadow areacorresponding to a mask that can be utilized to modify an image,according to at least one embodiment;

FIG. 11 is a simplified flow diagram illustrating an example process formodifying headshot image data according to a contour mode selection,according to at least one embodiment;

FIG. 12 is a simplified flow diagram illustrating an example process formodifying headshot image data according to a studio mode selection,according to at least one embodiment.

FIG. 13 is a simplified flow diagram illustrating an example process formodifying headshot image data according to a stage mode selection,according to at least one embodiment;

FIG. 14 schematically illustrates an example computer architectureincluding a plurality of modules that may perform functions describedherein, in accordance with at least one embodiment;

FIG. 15 is a simplified flow diagram illustrating an example process formodifying image data as described herein, according to at least oneembodiment;

FIG. 16 is a simplified flow diagram illustrating an example process formodifying image data according to a contour mode selection as describedherein, according to at least one embodiment; and

FIG. 17 is a simplified flow diagram illustrating an example process formodifying image data according to a contour mode selection as describedherein, according to at least one embodiment.

DETAILED DESCRIPTION

Certain embodiments of the present disclosure relate to devices,computer-readable medium, user interfaces, and methods for modifyingimage data to provide virtual lighting adjustments. “Image data” isintended to refer to any suitable information (e.g., RGB values, depthmeasurement values corresponding to depth maps, 2 Dimensional (2D) imagedata, 3-Dimensional (3D) image data, etc.) related to a digital image.In some examples, image data may include “headshot image data” that isrelated to a subject of the image, such as a portion of the imagedepicting a headshot (e.g., an area of the face and/or an area withinsome distance of the face such as the subject's neck, shoulders, chest,etc.) of the subject. Although examples herein may be provided in thecontext of digital images that include an image of a single subject(e.g., a person), it should be appreciated that digital images thatinclude more than one subject may be similarly modified using thetechniques described below.

Once an image is captured, the user may preview the image and selectfrom a variety of lighting modes. In some embodiments, the user mayselect a lighting mode prior to capture time, such that an imagecaptured may be modified in accordance with lighting mode previouslyselected. Each lighting mode may be used to increase or reduce theperceived luminance (e.g., brightness) of pixels within the imageaccording to a predefined scheme. In other words, each lighting mode maybe associated with particular areas (or an area) of the subject and aparticular manner by which the luminance of the pixels within thosearea(s) are to be modified. Accordingly, an image may be modifiedaccording to a lighting mode so that some portions of the subject appearlightened and/or other portions appear darkened. It should beappreciated that any mention of adjusting the luminance and/orbrightness of pixels may be equally applied to situations in which theluminance and/or brightness appears (may be perceived) to be adjusted,regardless of whether the luminance and/or brightness of the pixels isactually modified. By utilizing the techniques described herein, theuser may modify an image at capture time to more closely resemble aprofessionally captured or edited digital image. Accordingly, thequality of a digital image may be improved without the necessity toconfer with a professional photographer and/or purchase expensivephotography equipment.

By way of example, a user may use a personal computing device with imagecapture functionality/hardware (e.g., a smartphone, wearable device,laptop, etc.) to capture an image. The captured image can includeheadshot image data corresponding to any suitable number of subjectswithin the image. A preview of the captured image can be displayed on ascreen of the user's personal device. In some examples, a smoothingtechnique (e.g., a noise reduction algorithm) may be applied to thepreviewed image to reduce image noise produced during capture. In someembodiments, a “fill” light may be applied to the subject(s) in theimage (e.g., the face(s) of the subject(s)) to smooth out shadows anduneven illumination. The skin-tone of the subject(s) may be maintainedto provide lighting adjustments without washing out the image. This mayhave the effect of providing a more realistic modification that closelyresembles lighting adjustments physically performed by a professionalphotographer. A user interface may be provided that allows the user toselect one of the various lighting modes (e.g., contour, studio, stage,etc.) with which to modify the previewed image.

As discussed herein, a set of lighting modes may include a contour mode,a studio mode, and a stage mode. A contour mode may be utilized toproduce a modified image that, at least in part, increases brightnesstoward the front of the face and darkens the side(s) of the face. Astudio mode may be utilized to generally brighten the face and highlightthe side(s) of the face. In examples in which a face isn't detect, theforeground of the image may be brightened in studio mode. A stage modemay at least depict the subject as emerging from a darkened background.In some examples, an additional stage mode (e.g., stage mode black andwhite) may be provided that depicts the subject in black and white andemerging from a darkened background. In either stage mode, thebackground of the image may be darkened (or blacked out), even if nofacial features are detected. Any suitable combination of user interfaceelements may be provided and those interface elements may correspond toany suitable combination of the lighting modes described herein. Itshould be appreciated that the lighting modes described herein areillustrative in nature and that other modes that provide differentlighting mode adjustments are contemplated.

Upon receiving user selection of a particular lighting mode, the imagedata may be analyzed to identify headshot image data (e.g.,corresponding to an area within, and/or around, a subject's face).Landmark points may be used to identify particular locations/portions ofthe headshot image. Any suitable number of landmark points may beobtained using the image data (including the headshot image data) basedat least in part on analyzing depth measurement values of the imagedata. A set of landmark points may define a particular area of theheadshot. By way of example, one set of landmark points may define anoutline of the subject's head, while another set of landmark points maydefine an area corresponding to the subject's eyebrow(s), mouth, eye(s),nose, teeth, or the like.

A number of masks (e.g., one or more) may be generated from the landmarkpoints. These masks may be generated depending on the area of the imagesuch that localized lighting modifications can be made to the image. Atleast one of these masks may be a 3D virtual model generated from 2Dimage data and depth measurement values of the image. In some examples,a mask may include an outline of the subject's head but exclude areascorresponding to the subject's eyes, eyebrows, nose, mouth, teeth, orthe like. Accordingly, in some embodiments, a mask may define portionsof the image within which the subject's skin is depicted (e.g., face,décolletage, shoulders, neck, or the like). In still further examples, amask may define portions of the subject such as the forehead, chin,cheeks, nose, eyes, or any suitable portion of the subject. Generally,virtual light(s) may be directed to various portions of the mask(s) todetermine how the application of the light may affect the appearance ofskin within the image.

In some embodiments, a mask may be utilized to identify sets of pixellocations corresponding to sub-portions of the headshot. For example,the mask may be utilized to identify any suitable combination of acheek/cheekbone area, a chin area, a forehead, sides of the face,temples, or any suitable portion of the subject of an image. Onceidentified, the image data corresponding to the sets of pixel locationsmay be modified in accordance with the lighting mode selected.

In some embodiments, depth measurement values of the image data mayinfluence a degree by which the image is modified according to thelighting mode. A depth measurement value may quantify a distance of thesurface of scene objects from a viewpoint. Depth measurement values canbe used to determine the depths of various points of the face or otherportions of the subject, as well as the depth of a subject within animage. In some cases, an image of a subject in the background (e.g.,over some threshold depth value) of the image may be modified in adifferent manner than an image of a different subject in the foreground(e.g., under the threshold depth value) of the image. By way of example,a lighting mode may cause a foreground subject image to be modified withmore extensive luminance changes that those applied to the backgroundsubject image. In some embodiments, a foreground subject image alone maybe modified according to the lighting mode selection, while a backgroundsubject image is ignored because the background subject is determined tobe oriented at a depth that is over a threshold depth value. By varyingthe effect of the lighting mode on the subject image based at least inpart on depth, a more realistic image may be provided than if thelighting mode was universally applied to each subject image irrespectiveof the depth of the subject image.

In some embodiments, a face size and/or orientation of a face of thesubject may be utilized to make lighting modifications. By way ofexample, a subject within the image may be facing at an angle within theimage. Accordingly, the effect of the lighting mode on the subject mayvary based at least in part on how the subject is orientated. That is, aside of the subject's face that appears to be facing away from thecamera may be modified with a lesser amount of lighting modificationsthan the side of the subject's face that appears to be facing toward thecamera.

The techniques described above are discussed in further detail belowwith respect to the following figures.

FIG. 1 is a simplified block diagram illustrating an example process 100for modifying image data 102 to provide virtual lighting adjustments asdescribed herein, according to at least one embodiment. It should beappreciated that virtual lighting adjustments may be made at imagecapture time, or at any suitable time subsequent to capturing orotherwise obtaining an image. For example, image data 102 may becollected at any suitable time. As a non-limiting example, image data102 may correspond to any suitable number of digital images collectedusing an image capture device (e.g., a camera). In some embodiments, theimage capture device may be part of a user's personal device (e.g., asmartphone). Image data 102 may correspond to respective images thatindividually depict one or more subjects (e.g., people). The image data102 may include RGB values, depth measurement values corresponding to adepth map of an image, 2-Dimensional (2D) image data, 3-Dimensional (3D)image data, or any suitable combination thereof.

In some embodiments, depth measurement values (e.g., a depth map) of theimage data 102 may be utilized to determine landmark points 104. By wayof example, the depth measurement values may be used as input into amachine learning model. Although depth measurement values may beutilized in examples herein, it should be appreciated that in someembodiments, landmark points may be identified based at least in part onRGB image data. Thus, any example herein which may utilize depthmeasurement values for the purposes of illustration may additionally, oralternatively, be performed with RGB image data. In some embodiments,the machine learning model may be trained utilizing supervised machinelearning techniques with images for which particular landmark points areknown and identified. Once trained, the machine learning model may beconfigured to take depth measurement values as input and provide a setof landmark points as output.

The landmark points 104 may be used to generate one or more masksmask(s) 106 (e.g., one or more 3D virtual models, one or more impliedgeometries). For example, the landmark points 104 (or a subset of thelandmark points 104) may be utilized to identify a variety of areascorresponding to a headshot of a subject of an image. As a non-limitingexample, the landmark points 104 may provide an outline of an area ofthe headshot. Identified areas may include, but are not limited to, theareas of the face, neck, shoulders, décolletage, eye(s), eyebrow(s),nose, mouth, and teeth. In some embodiments, the mask(s) 106 may begenerated to include individual area(s) (or combinations of areas) ofthe face but exclude the areas corresponding to the eye(s) nose,eyebrows, mouth, and teeth. According to some embodiments, the mask(s)106 may define area(s) that depict skin within the headshot of thesubject image. In some embodiments, lighting adjustments discussedherein may be made using the landmark points and an implied geometry ofthe landmark points without utilizing a mask at all.

The image data 102 may be modified according to a set of portrait modelighting modifications 108 to produce a modified image 110. The portraitmode lighting modifications 108 may be determined based at least in parton a variety of factors. For example, a user selection 112 may specify aparticular lighting mode (e.g., contour, studio, stage, black and whitestage, etc.). The particular lighting mode selected may be used toidentify the virtual lighting adjustments 114 to be performed on theimage data 102 and/or the mask(s) 106. The virtual lighting adjustments114 identified for the specified lighting mode may correspond toparticular area(s) of a headshot for which luminance (and/or perceivedluminance) is to be increased (e.g., lightened) or decreased (e.g.,darkened). Virtual lighting adjustments 114 to the mask(s) 106 (or anysuitable mask) may be converted and applied to the image data 102 at anysuitable time.

In some embodiments, the image data 102 (e.g., depth measurement values)may further be utilized to determine a degree to which the portrait modelighting modifications 108 alter the image data 102, or in other words,an amount by which the luminance of the areas of the headshot aremodified. By way of example, pixels/areas of the headshot correspondingto shallow depth measurement values may be modified to a greater extentthan pixels/areas corresponding to deeper depth measurement values.Accordingly, areas of the headshot that appear closer may be brightenedmore than areas of the headshot that appear further away. In someembodiments, the size of the face in the headshot and/or the orientationof the face within the headshot may be factored in when making lightingmodifications. For example, the areas of the headshot that are facingaway from the camera may be modified to a lesser extent than the areasof the headshot which are facing toward the camera. Similarly, in someembodiments, greater lighting modifications may be applied to largerfaces than those applied to smaller faces.

As a specific non-limiting example, the user selection 112 may indicatethat lighting mode “A” has been selected. Lighting mode A may beassociated with virtual lighting adjustments 114. These virtual lightingadjustments 114 may specify that a forehead area of the image is to bebrightened. As part of performing the portrait mode lightingmodifications 108, the set of pixels associated with the forehead areamay be identified from the image data 102 utilizing the mask(s) 106.Said another way, the forehead area may be determined within the mask(s)106 and the pixels associated with that area may then be identified fromthe image data 102. The pixels corresponding to the forehead may then bebrightened according to the virtual lighting adjustments 114. In someembodiments, the forehead may be brightened according to each pixel'srespective depth measurement value. Thus, pixels depicting a portion ofthe forehead that appears closer may be brightened more than pixelsdepicting portions of the forehead that appear farther away. In somecases, the pixels corresponding to the forehead may be universallybrightened according to the virtual lighting adjustments 114 regardlessof each pixel's respective depth measurement value. In this example,once the portrait mode lighting modifications 108 are complete, themodified image 110 may depict the original image as defined by the imagedata 102 with a brightened forehead area.

FIG. 2 is a simplified schematic diagram illustrating an example userinterface 200 for presenting and modifying image data (e.g., the imagedata 102 of FIG. 1), according to at least one embodiment. Userinterface 200 may be provided via a display 202. The display 202 may bea hardware component of a personal device (e.g., smartphone, mobilephone, wearable device, laptop, or the like). Within the user interface200, a viewing area 204 is provided. The viewing area 204 may beconfigured to present an image 203 (e.g., an image including a subject206). It should be appreciated that the image 203 is intended to beillustrative in nature and that any suitable image may be presentedwithin the viewing area 204.

In some embodiments, a number of user interface (UI) elements may beprovided. For example, UI element 208 may be provided. The UI element208 may correspond to a natural light mode that corresponds to a view ofthe image 203 as captured by a capture device (e.g., a camera) of thepersonal device. UI element 210 may be provided and may correspond to anoption for selecting a contour lighting mode. UI element 212 may beprovided and may correspond to an option for selecting a studio lightingmode. UI element 214 may be provided and may correspond to an option forselecting a stage lighting mode. UI element 216 may be provided and maycorrespond to an option for selecting a black and white stage lightingmode. The UI elements 208-216 may be presented within the user interface200 as depicted or the UI elements 208-216 may be depicted in adifferent arrangement within the user interface 200. The UI elements208-216 may be presented with icons as depicted in FIG. 2, and/or the UIelements 208-216 may be provided in a menu, via checkboxes, radiobuttons, or any suitable interface element suitable for providing a userthe means of selecting a lighting mode. It should be appreciated thatmore or fewer lighting mode options may be provided then those depictedin FIG. 2.

Selection of any one of the UI elements 208-216 (e.g., lighting modes)may cause the image data of image 203 to be modified according to theselection. That is to say, that upon selection of a UI element, theimage 203 as a whole and/or a portion of the image 203 (e.g., subject206) may be modified according to the lighting mode corresponding to theselected UI element. A modified image (not depicted) may replace theimage 203 in the viewing area 204. If the user were to select another UIelement corresponding to a different lighting mode, the viewing area 204may present a modified image corresponding to the image 203 as modifiedaccording to the newly selected lighting mode.

In some embodiments, the user interface 200 may include additionalediting options 218. The additional editing options 218 may correspondto a variety of conventional image editing techniques such as, but notlimited to, cropping an image, adjusting the colors (perceived oractual) within an image, and adjusting a contrast and/or brightness(perceived or actual contrast and/or brightness) of an image. Theadditional editing options 218 may be arranged as depicted in FIG. 2although other arrangements are contemplated.

The user interface 200 may include a cancel option 220 and a done option222. In some embodiments, selection of the cancel option 220 may cause acurrently displayed image within the viewing area 204 to revert to anoriginal state (e.g., the image 203 prior to the application of anyediting and/or adjustments). Selection of the done option 222 mayindicate that the user has completed his editing and/or adjustments.Upon selecting the done option 222 the image currently being presentedwithin the viewing area 204 may be automatically saved or the user maybe presented with an option to save the image.

FIG. 3 is a simplified schematic diagram 300 illustrating an example setof landmark points of an image (e.g., the image 203 of FIG. 2),according to at least one embodiment. The landmark point 302 is depictedas one of the set of landmark points of the image 203. Any descriptioninvolving the landmark point 302 may similarly be applied to any of thelandmark points depicted within FIG. 3. The landmark point 302 may beidentified utilizing image data (e.g., image data 102 of FIG. 1including depth measurement values corresponding to image pixels of theimage 203). In some embodiments, any suitable number of depthmeasurement values may be utilized to determine the landmark point 302.

The number of landmark points depicted in FIG. 3 is intended to beillustrative in nature. Any suitable number of landmark points may beidentified. In some embodiments, the landmark point 302 may beassociated with a label or identifier. The label/identifier may beunique to the landmark point 302 or the label/identifier may be sharedbetween the landmark point 302 and one or more additional landmarkpoints. By way of example, the landmark points 304 may be identified andindividually associated label/identifier associated with a left eye areaof the subject 206. Similarly, the landmark points 306 may be identifiedand individually associated with label/identifier associated with a lefteyebrow area of the subject 206. Landmark identification and labelingtechniques will be described in further detail below with respect toFIG. 14.

FIG. 4 is a simplified schematic diagram illustrating an exampleconfiguration 400 of landmark points associated with an image, accordingto at least one embodiment. The configuration 400 includes 63 landmarkpoints. However, any suitable number of landmark points may be utilized.Each landmark point (e.g., landmark points 0-63) may correspond to apixel selected using image data (e.g., the image data 102 of FIG. 1).Each landmark point may be selected from any suitable number of pixelswithin a given area based at least in part on depth measurement values(and/or RGB values) of the pixels in the given area. By way of example,Landmark point 0 may be selected from pixels within area 402, landmarkpoint 1 may be selected from pixels within area 404, landmark 2 may beselected from pixels within area 406, and landmark 3 may be selectedfrom pixels within area 408. The area from which a landmark point isselected may vary in size and shape according to a predetermined scheme.

To select and/or identify a particular landmark from image data, depthmeasurement values (and/or RGB values) corresponding to each pixelwithin area 402 (or a set of pixels of an image such as image 203 ofFIG. 2) may be provided as input to a machine learning model. Themachine learning model may be trained (e.g., utilizing supervisedlearning techniques) with historical figures for which a landmark pointsare known. Accordingly, the machine learning model may be utilized toidentify a single pixel (landmark point 0 corresponding to a left-mostpoint of a left eyebrow) within area 402 that most closely resemblescorresponding landmark points of historical images. Said another way,the machine learning model may utilize respective depth measurementvalues of the pixels within area 402 to identify a pixel (correspondingto the landmark point 0) is most likely to be the left-most point of aleft eyebrow.

Each landmark point identified may be associated with a label oridentifier corresponding to a particular landmark (e.g., a facialfeature). As depicted in FIG. 4, landmark points 0-3 may be associatedwith a label/identifier indicating that landmark points 0-3 correspondto a left eyebrow. Similarly, landmark points 4-7 may be associated witha label/identifier indicating that the landmark points 4-7 correspond toa right eyebrow. Landmark points 8-15 may be associated label/identifiercorresponding to a left eye, while landmark points 16-23 may beassociated with a label/identifier corresponding to a right eye.Landmark points 24-31 may be associated or identified as correspondingto a mouth (or lips). Landmark points 32-39 may be labeled or identifiedas corresponding to teeth. Landmark points 40-50 may be labeled oridentified as corresponding to an outline of the face. Landmark points51-62 may be labeled or identified as corresponding to a nose.

FIG. 5 is a simplified schematic diagram 500 illustrating an examplemask 502 corresponding to an image (e.g., the image 203 of FIG. 2),according to at least one embodiment. The mask 502 may be generated fromthe landmark points of FIG. 3 or FIG. 4. In some embodiments, the mask502 may be utilized as described, while in other embodiments, the mask502 may include one or more masks with which lighting adjustments may bemade. For ease of illustration, the mask 502 may include a single mask,but it should be appreciated that the examples provided herein maysimilarly be applied to use cases in which multiple masks are utilized.Thus, any example that refers to “the mask 502” may be utilizedsynonymously as “a mask of one or more masks.” A facial area 503(including the face and ears of the subject 206) may be determined froma subset of the landmark points of FIG. 3. A left eye-brow area 504,right eye-brow area 506, left eye area 508, right eye area 510, nosearea 512, and mouth area 514 may be determined from respective subsetsof the landmark points depicted in FIG. 3. In at least one embodiment,the mask 502 may be generated by removing or excluding the areas 504-514from the facial area 503. In some examples, the mask 502 may define anarea within which subsequent virtual lighting adjustments are to beapplied. Areas outside the mask 502 may be excluded from the applicationof a virtual lighting adjustment. Accordingly, the area defined by themask 502 may correspond to a subset of pixels of the image 203. Furtherdetails of the mask will be described below in connection with FIG. 14.

FIG. 6 is a simplified schematic diagram illustrating an exampleconfiguration 600 of a set of lighting adjustment areas within a mask601 (e.g., the mask 502 of FIG. 5) It should be appreciated that themasks of FIGS. 6-10 may be the same as the mask 502 or a different maskand/or may or may not rely on the mask 502. In some embodiments, eachtype of lighting adjustment may utilize a different mask. In someembodiments, the mask 601 may not be utilized, but rather, lightingadjustments may be made using landmark points and an implied geometry ofthe landmark points. A lighting adjustment area may define a boundarywithin which a lighting adjustment is to be made. The lightingadjustment areas of FIG. 6 may include lighting adjustment area 602,lighting adjustment area 604, lighting adjustment area 606, and lightingadjustment area 608, although any suitable number or configuration oflighting adjustment areas may be utilized. The lighting adjustment areas602-608 may individually, or collectively, be associated with aparticular lighting mode (e.g., contour, studio, stage, black and whitestage, etc.). The location and shape of the lighting adjustment areas602-608 may be predefined. Although particular locations and shapes ofthe lighting adjustment areas 602-608 are provided in FIG. 6, it shouldbe appreciated that such locations/shapes are merely illustrative innature and other locations and/or shapes may be used.

In at least one embodiment, each of lighting adjustment areas 602-608may be utilized to apply lighting adjustments to simulate acorresponding virtual spotlight. A virtual spotlight lighting adjustmentmay be utilized to simulate the visual effect of using a physical lightto project a beam of light directed to a particular location/area of asubject. In some embodiments, each of the lighting adjustment areas602-608 may correspond to a unique virtual spotlight, or a combinationof the lighting adjustment areas 602-608 may correspond to a singlevirtual spotlight. For ease of explanation, the lighting adjustmentareas 602-608 may be considered to be corresponding to a single virtualspotlight that simulates multiple beams of physical lights or asimulated large area light source (that simulates a portraitphotographers “soft box”) which may light the entire face.

In at least one embodiment, the lighting adjustment areas 602-608 may bedefined in relation to the mask 601. By way of example, the lightingadjustment area 602 may be predefined as corresponding to an area of themask 601 (or an area defined by landmark points and an implied geometry)between the left eye-brow area 504 and the right eye-brow area 506. Thelocation, size, shape, and/or orientation of the lighting adjustmentarea 602 may be as depicted in FIG. 6, or the location, size, shape,and/or orientation of the lighting adjustment area 602 may differ fromthat depicted in FIG. 6.

The lighting adjustment area 604 may be predefined as corresponding toan area of the mask 601 (or an area defined by landmark points and animplied geometry) under the left eye area 508. The lighting adjustmentarea 606 may be predefined as corresponding to an area of the mask 601(or an area defined by landmark points and an implied geometry) underthe right eye area 510. The location, size, shape, and/or orientation ofthe lighting adjustment area 604 and/or the lighting adjustment area 606may be as depicted in FIG. 6, or the location, size, shape, and/ororientation of such areas may differ from those depicted in FIG. 6.

The lighting adjustment area 608 may be predefined as corresponding to achin area of the mask 601 (or an area defined by landmark points and animplied geometry). In some examples, the chin area may defined as anarea between two landmark points. For example, a midway distance betweenlandmark point 30 and landmark point 45 of FIG. 4 may be calculated andassociated with a chin area of the mask 601 (or an area defined bylandmark points and an implied geometry). The location, size, shape,and/or orientation of the lighting adjustment area 608 may be asdepicted in FIG. 6, or the location, size, shape, and/or orientation ofthe lighting adjustment area 608 may differ from that depicted in FIG.6.

Once identified, the lighting adjustment areas 602-608 of the mask 601(or an area defined by landmark points and an implied geometry) may beutilized to identify corresponding sets of pixels of an image (e.g., theimage 203 of FIG. 2). Various virtual lighting adjustments may beapplied to the corresponding sets of pixels. In some embodiments, thesame virtual lighting adjustment may be applied universally to thelighting adjustment areas 602-608 or the virtual lighting adjustment maydiffer between the lighting adjustment areas 602-608. By way of example,the application of a universally applied virtual lighting adjustment maycause respective brightness values of each of the pixels to the lightingadjustment areas 602-608 to be brightened by a particular amount (e.g.,a 10% increase of each respective pixel's original brightness value,each brightness value may be increased by a common whole number value,etc.). In some cases, a pixel's original brightness may control anamount of light added, such that images in the shade may get more/lesslight added to them than images in direct light.

In some embodiments, image data (e.g., depth measurements values) of thepixels corresponding to the mask 601 (or the landmark points) may beutilized to determine a tilt, rotation, and/or subject of the image. Insome examples, lighting adjustment performed utilizing the lightingadjustment areas 602-608 may be dependent on how the subject is tilted,rotated, or oriented. As a non-limiting example, when the subject's headis determined to be rotated, the adjusting that increase brightness ofpixels corresponding to the lighting adjustment area 604 may beincreased to a lesser degree than pixels corresponding to the lightingadjustment area 606. This may be case because the lighting adjustmentarea 604 may correspond to a portion of the subject that appears to befarther back than a portion of the subject corresponding to the lightingadjustment area 604.

FIG. 7 is a simplified schematic diagram illustrating another exampleconfiguration 700 of another set of lighting adjustment areas within amask 701 (e.g., the mask 502 of FIG. 5, the mask 601 of FIG. 6, or adifferent mask), according to at least one embodiment. In someembodiments, the mask 701 may not be utilized, but rather, lightingadjustments may be made using landmark points and an implied geometry ofthe landmark points. The lighting adjustment areas of FIG. 7 may includelighting adjustment area 702 and lighting adjustment area 704, althoughany suitable number or configuration of lighting adjustment areas may beutilized. The lighting adjustment areas 702-704 may individually, orcollectively, be associated with a particular lighting mode (e.g.,contour, studio, stage, black and white stage, etc.). The location,width, height, and shape of the lighting adjustment areas 702-704 may bepredefined. Although particular locations, widths, heights, and shapesof the lighting adjustment areas 702-704 are provided in FIG. 7, itshould be appreciated that these attributes of the lighting adjustmentareas 702-704 are merely illustrative in nature.

In at least one embodiment, each of lighting adjustment areas 702-704may be utilized to apply lighting adjustments to simulate acorresponding virtual kick light. A virtual kick light lightingadjustment may be utilized to simulate the visual effect of shining aphysical light at an angle directed to a side portion of a face, whichmay visually accent and/or deemphasize the side portion of the face.Similarly, some combination of the lighting adjustment areas 702-704 maybe utilized to apply lighting adjustments directed to virtual lightremoval. Performing virtual light removal techniques utilizing thelighting adjustment areas 702-704 may darken a side portion of an object(e.g., a face) which may cause the side portion to be deemphasized, asif the subject were surrounded by a dark cloth.

In at least one embodiment, the lighting adjustment areas 702-704 may bedefined in relation to the mask 701 or in relation to an area defined bylandmark points and an implied geometry of the landmark points. By wayof example, the lighting adjustment area 702 may be predefined ascorresponding to an area corresponding to a left side of the mask 502.The lighting adjustment area 702 may be associated with a height 706 anda width 708. The height 706 and/or width 708 may be predefined, or theheight 706 and/or width 708 may be calculated based at least in part ondepth measurements values of pixels corresponding the lightingadjustment area 702. The location, size, shape, and/or orientation ofthe lighting adjustment area 702 may be as depicted in FIG. 7, or thelocation, size, shape, and/or orientation of the lighting adjustmentarea 702 may differ from that depicted in FIG. 7. In some embodiments,the location, shape, height 706, or width 708 of lighting adjustmentarea 702 may be calculated based at least in part on a tilt, rotation,and/or orientation of the subject as ascertained from the mask 701and/or landmark points and an implied geometry.

As another example, the lighting adjustment area 704 may be predefinedas corresponding to an area corresponding to a right side of thesubject. The lighting adjustment area 704 may be associated with aheight 710 and a width 712. The height 710 and/or width 712 may bepredefined, or the height 710 and/or width 712 may be calculated basedat least in part on depth measurements values of pixels corresponding tothe lighting adjustment area 704. The location, size, shape, and/ororientation of the lighting adjustment area 704 may be as depicted inFIG. 7, or the location, size, shape, and/or orientation of the lightingadjustment area 704 may differ from that depicted in FIG. 7.

In some embodiments, image data (e.g., depth measurements values) of thepixels corresponding to the mask 701, or a number of landmark points andan implied geometric of the landmark points, may be utilized todetermine a tilt, rotation, and/or orientation of the subject. In someexamples, the lighting adjustment areas 702-704 may be determined basedat least in part on how the subject is tilted, rotated, or oriented. Byway of example, the width 708 of lighting adjustment area 702 may besmaller than the width 712 of the lighting adjustment area 704 when thesubject is determined to be rotated in a given direction. Accordingly,the width 708 of the lighting adjustment area 702 corresponding to theside of the face that is rotated away may be narrower than the width 712of the lighting adjustment area 704 corresponding to the side of facethat is closer to the image capture device when the image was captured.

Once identified, the lighting adjustment areas 702-704 (e.g., as definedby the mask 701 or as defined by a set of landmark points and an impliedgeometry of the landmark points) may be utilized to identifycorresponding sets of pixels of an image (e.g., the image 203 of FIG.2). Various virtual lighting adjustments (e.g., brightening and/ordarkening) may be applied to the corresponding sets of pixels. In someembodiments, the same virtual lighting adjustment may be applieduniversally to the lighting adjustment areas 702-704 or the virtuallighting adjustment may differ between the lighting adjustment areas702-704. By way of example, the application of a universally appliedvirtual lighting adjustment may cause respective brightness values ofeach of the pixels to the lighting adjustment areas 702-704 to bebrightened by a particular amount (e.g., a 10% increase of eachrespective pixel's original brightness value, each brightness value maybe increased by a common whole number value, etc.). In another example,a virtual lighting adjustment may brighten one of the lightingadjustment areas 702-704 while another virtual lighting adjustment maydarken the other. In still further examples, a virtual lightingadjustment may brighten or darken both the lighting adjustment areas702-704 but by differing amounts.

FIG. 8 is a simplified schematic diagram 800 illustrating yet anotherlighting adjustment area (e.g., the lighting adjustment area 802),according to at least one embodiment. The lighting adjustment area 802may be associated with a particular lighting mode (e.g., contour,studio, stage, black and white stage, etc.). The location and shape ofthe lighting adjustment area 802 may be predefined. Although aparticular location and shape of the lighting adjustment area 802 isprovided in FIG. 8, it should be appreciated that the attributes of thelighting adjustment area 802 are merely illustrative in nature. Thelighting area 802 may be defined with respect to the mask 801 (e.g., themask 502, the mask 601, the mask 701 of FIG. 5-7), while in otherembodiments the mask 801 may not be utilized. In some embodiments,lighting adjustments may be made using landmark points and an impliedgeometry of the landmark points without utilizing a mask at all.

In at least one embodiment, the lighting adjustment area 802 may beutilized to apply lighting adjustments to simulate a virtual strobelight. A virtual strobe light lighting adjustment may be utilized tosimulate the visual effect of shining a physical strobe light directedto a particular area of a subject. In at least one embodiment, thelighting adjustment area 802 may be predefined as corresponding to anose area 804 (e.g., defined by a portion of the mask 501, an areadefined by landmark points 51-62 of FIG. 4, etc.) of a subject of animage (e.g., the subject 206 of the image 203 of FIG. 2). In at leastone example, application of a virtual strobe light lighting adjustmentmay cause the bridge of a nose to be brightened, although the virtualstrobe light lighting adjustment may similarly be applied other areas ofan image.

In some embodiments, image data (e.g., depth measurements values) of thepixels corresponding to the nose area 804 may be utilized to determine atilt, rotation, and/or orientation of a portion of the subject (e.g., aportion corresponding to the nose area 804). Accordingly, the portionsof the lighting adjustment area 802 that have deeper depth measurementvalues may be brightened at least some amount less than portions of thelighting adjustment area 802 that have shallower depth measurementvalues.

Once identified, the lighting adjustment areas 802 may be utilized toidentify a set of pixels of an image (e.g., the image 203 of FIG. 2).The brightness values of the set of pixels may then be modifiedaccording to a predetermined scheme and, in some cases, the tilt,rotation, and/or orientation of subject and/or the nose area 804 asdescribed above.

FIG. 9 is a simplified schematic diagram 900 illustrating additionallighting adjustment areas (e.g., the lighting adjustment area 902 andthe lighting adjustment area 904) for performing virtual light removal,according to at least one embodiment. The lighting adjustment areas902-904 may be associated with a particular lighting mode (e.g.,contour, studio, stage, black and white stage, etc.). The location andshape of the lighting adjustment areas 902-904 may be predefined.Although particular locations and shapes of the lighting adjustmentareas 902-904 are provided in FIG. 9, it should be appreciated that theattributes of the lighting adjustment areas 902-904 are merelyillustrative in nature. The lighting areas 902-904 may be defined withrespect to the mask 901 (e.g., the mask 502, the mask 601, the mask 701,the mask 801 of FIG. 5-8), while in other embodiments the mask 901 maynot be utilized. In some embodiments, lighting adjustments may be madeusing landmark points and an implied geometry of the landmark pointswithout utilizing a mask at all.

In at least one embodiment, the lighting adjustment areas 902-904 mayindividually, or collective, be utilized to apply lighting adjustmentsto darken a portion of a subject. Performing lighting adjustments thatdarken a portion of the subject may be referred to as virtual lightremoval. In at least one embodiment, the lighting adjustment areas902-904 may be predefined as including side portions of a nose area 906(e.g., an area defined with the mask 901, a nose area defined bylandmark points 51-62 of FIG. 4, etc.) or any suitable portions of thesubject of an image (e.g., the subject 206 of the image 203 of FIG. 2).In at least one example, virtual light removal may cause the sides of anose to be darkened with respect to the original image.

In some embodiments, image data (e.g., depth measurements values) of thepixels corresponding to side portions of the nose area 906 may beutilized to determine a tilt, rotation, and/or orientation of the nosearea 906. Accordingly, the portions of the lighting adjustment areas902-904 that have deeper depth measurement values may have more lightremoved than portions of the lighting adjustment areas 902-904 that haveshallower depth measurement values.

Once identified, the lighting adjustment areas 902-904 may be utilizedto identify a set of pixels of an image (e.g., the image 203 of FIG. 2).The brightness values of the set of pixels may then be modified todarken at least some of the pixels according to a predetermined schemeand, in some cases, according to the tilt, rotation, and/or orientationof the nose area 906 as described above.

FIG. 10 is a simplified schematic diagram 1000 illustrating a shadowarea 1002 that can be utilized to modify an image, according to at leastone embodiment. The shadow area 1002 may be associated with a particularlighting mode (e.g., contour, studio, stage, black and white stage,etc.). The location and shape of the shadow area 1002 may be predefinedor the location and shape of the shadow area 1002 may be determinedbased at least in part on a tilt, rotation, or orientation of thesubject. In some embodiments, the shadow area 1002 may be defined basedat least in part on one or more masks discussed herein, or the shadowarea 1002 may be defined based at least in part on a set of landmarkpoints and an implied geometry of the set of landmark points. Althoughparticular size and shape of the shadow area 1002 is provided in FIG.10, it should be appreciated that the attributes of the shadow area 1002are merely illustrative in nature.

In at least one embodiment, the shadow area 1002 may be utilized toapply lighting adjustments to darken a portion of a subject. In theexample depicted in FIG. 10, the shadow area 1002 may be used to darkenan area outside of the facial features of the subject and extended somesuitable distance down the subject's neck.

In some embodiments, image data (e.g., a set of pixels of the imagecorresponding to the shadow area 1002) may be adjusted universally, orthe image data may be variably adjusted based at least in part on apredefined scheme associated with the shadow area 1002. For example, aset of pixels of the image data corresponding to the shadow area 1002may each be darkened by a suitable amount by subtracted a common value(e.g., 10, 20, etc.) from respective brightness values of each of thepixels. As another example, the predefined scheme may specify thatpixels corresponding to an area 1004 of the shadow area 1002 may bedarkened to a greater degree than pixels corresponding to the shadowarea 1002 that are outside of the area 1004.

FIGS. 11-13 are directed to a number of examples in which the lightingadjustments are applied to image data (e.g., image data 102 of FIG. 1corresponding to image 203 of FIG. 2). The examples of FIGS. 11-13depict particular combinations of the lighting adjustment areas of FIGS.5-10 and particular orders in which the adjustments corresponding tothose areas may be applied. As described in the figures above, thelighting adjustment areas may be defined by one or more masks and/orvarious sets of landmark points and an implied geometry of the landmarkpoints. It should be appreciated that the combinations of lightingadjustment areas and the order of the adjustments depicted areillustrative in nature and are not intended to limit the scope of theinvention. The lighting adjustment areas of FIGS. 5-10 may be utilizedin any suitable combination, in any suitable order. Additional lightingadjustment areas outside of those described above in FIGS. 5-10 may beutilized with, or instead of, the lighting adjustment areas of FIGS.5-10. These additional lighting adjustment areas may be any suitablesize or shape and may be directed to different pixel locations withinthe mask 502, the feature areas (e.g., the feature areas of FIG. 5including the left eye-brow area 504, the right eye-brow area 506, theleft eye area 508, the right eye area 510, the nose area 512, the moutharea 514, a dental area, or any suitable feature area of the mask 502),the image data, the headshot image data, or the like. As with thelighting adjustment areas of the FIGS. 5-10, the additional lightingadjustment areas may correspond to a one or more virtual lighting modesand may be associated with unique protocol sets that define how virtuallighting adjustments within the area are to be made.

FIG. 11 is a simplified flow diagram illustrating an example process1100 for modifying image data according to a contour mode selection,according to at least one embodiment. The process 1100 may depictlighting adjustments corresponding to the contour lighting mode. Theprocess 1100 may begin at 1102, where virtual lighting adjustments maybe made to the image data according to the lighting adjustment areas ofFIG. 6 according to the configuration 600.

At 1104, additional virtual lighting adjustments may be made to theimage data as altered at 1102. The additional virtual lightingadjustments made at 1104 may be according to the lighting adjustmentareas of FIG. 7 and the configuration 700.

At 1106, additional virtual lighting adjustments may be made to theimage data as altered at 1106. The additional virtual lightingadjustments made at 1106 may be according to the lighting adjustmentareas of FIG. 9 and the configuration 900.

At 1108, additional virtual lighting adjustments may be made to theimage data as altered at 1106. The additional virtual lightingadjustments made at 1108 may be according to the lighting adjustmentarea of FIG. 8 and the configuration 800.

At 1110, additional virtual lighting adjustments corresponding to theshadow area 1002 of FIG. 10 may be made to the image data as altered at1108.

FIG. 12 is a simplified flow diagram illustrating an example process formodifying image data according to a studio mode selection, according toat least one embodiment. The process 1200 may depict lightingadjustments corresponding to the studio lighting mode. The process 1200may begin at 1202, where virtual lighting adjustments may be made to theimage data according to some of the lighting adjustment areas of FIG. 6.For example, the lighting adjustment area 602, the lighting adjustmentarea 604, and the lighting adjustment area 606 may be used at 1202 toperform corresponding lighting adjustments to the image data accordingto a protocol set associated with the studio lighting mode

At 1204, additional virtual lighting adjustments may be made to theimage data as altered at 1202. By way of example, the chin area 608 ofFIG. 6 may be used to perform corresponding lighting adjustments to theimage data according to the protocol set associated with the studiolighting mode.

At 1206, additional virtual lighting adjustments may be made to theimage data as altered at 1204. The additional virtual lightingadjustment made at 1106 may be according to the lighting adjustmentareas of FIG. 7 and the configuration 700.

At 1208, additional virtual lighting adjustments may be made to theimage data as altered at 1206. The additional virtual lightingadjustment made at 1208 may be according to the lighting adjustment areaof FIG. 8 and the configuration 800.

FIG. 13 is a simplified flow diagram illustrating an example process1300 for modifying image data according to a black and white stage modeselection, according to at least one embodiment. The process 1300 maydepict lighting adjustments corresponding to the black and white studiolighting mode. The process 1300 may begin at 1302, where a black andwhite version of the image may be used to provide virtual lightingadjustments according to some of the lighting adjustment areas of FIG.6. For example, the lighting adjustment area 602, the lightingadjustment area 604, and the lighting adjustment area 606 may be used at1302 to perform corresponding lighting adjustments to the image dataaccording to a protocol set associated with the studio lighting mode

At 1304, additional virtual lighting adjustments may be made to theimage data as altered at 1302. By way of example, the chin area 608 ofFIG. 6 may be used to perform corresponding lighting adjustments to theimage data according to the protocol set associated with the studiolighting mode.

At 1306, additional virtual lighting adjustments may be made to theimage data as altered at 1304. The additional virtual lightingadjustment made at 1306 may be according to the lighting adjustmentareas of FIG. 7 and the configuration 700.

At 1308, additional virtual lighting adjustments may be made to theimage data as altered at 1306. The additional virtual lightingadjustment made at 1308 may be according to the lighting adjustment areaof FIG. 8 and the configuration 800.

At 1310, additional virtual lighting adjustments may be made to theimage data using the image data as altered at 1306. For example, thebackground of the image data (e.g., the area behind the headshot imagedata depicting the subject of the image) may be blackened (or darkened).Additionally, a gradient effect may be applied as depicted at 1312. Thegradient effect may cause the subject of the image to be emerging fromthe blackened background.

FIG. 14 schematically illustrates an example computer architecture 1400including a plurality of modules that may perform functions describedherein, in accordance with at least one embodiment. In some examples, acomputing device 1402 (e.g., a personal device such as a smartphone,wearable device, laptop, or the like) of the example architecture 1400may be configured to present a user interface (e.g., user interfaces200). The user interface may include any suitable number andconfiguration of the user interface elements above.

As noted above, the computing device 1402 may be configured to executeor otherwise manage applications or instructions for presenting a userinterface (e.g., the user interface 200) and providing lighting modeadjustments to image data. The computing device 1402 may be any type ofcomputing device such as, but not limited to, a mobile phone (e.g., asmartphone), a tablet computer, a personal digital assistant (PDA), alaptop computer, a desktop computer, a thin-client device, a smartwatch, a wireless headset, or the like.

In one illustrative configuration, the computing device 1402 may includeat least one memory 1414 and one or more processing units (orprocessor(s)) 1416. The processor(s) 1416 may be implemented asappropriate in hardware, computer-executable instructions, orcombinations thereof. Computer-executable instruction or firmwareimplementations of the processor(s) 1416 may include computer-executableor machine-executable instructions written in any suitable programminglanguage to perform the various functions described.

The memory 1414 may store program instructions that are loadable andexecutable on the processor(s) 1416, as well as data generated duringthe execution of these programs. Depending on the configuration and typeof the computing device 1402, the memory 1414 may be volatile (such asrandom access memory (RAM)) and/or non-volatile (such as read-onlymemory (ROM), flash memory, etc.). The computing device 1402 may alsoinclude additional removable storage and/or non-removable storage 1426including, but not limited to, magnetic storage, optical disks, and/ortape storage. The disk drives and their associated non-transitorycomputer-readable media may provide non-volatile storage ofcomputer-readable instructions, data structures, program modules, andother data for the computing devices. In some implementations, thememory 1414 may include multiple different types of memory, such asstatic random access memory (SRAM), dynamic random access memory (DRAM),or ROM. While the volatile memory described herein may be referred to asRAM, any volatile memory that would not maintain data stored thereinonce unplugged from a host and/or power would be appropriate.

The memory 1414 and the additional storage 1426, both removable andnon-removable, are all examples of non-transitory computer-readablestorage media. For example, non-transitory computer readable storagemedia may include volatile or non-volatile, removable or non-removablemedia implemented in any method or technology for storage of informationsuch as computer-readable instructions, data structures, programmodules, or other data. The memory 1414 and the additional storage 1426are both examples of non-transitory computer storage media. Additionaltypes of computer storage media that may be present in the computingdevice 1402 may include, but are not limited to, phase-change RAM(PRAM), SRAM, DRAM, RAM, ROM, electrically erasable programmableread-only memory (EEPROM), flash memory or other memory technology,compact disc read-only memory (CD-ROM), digital video disc (DVD) orother optical storage, magnetic cassettes, magnetic tape, magnetic diskstorage or other magnetic storage devices, or any other medium that canbe used to store the desired information and that can be accessed by thecomputing device 1402. Combinations of any of the above should also beincluded within the scope of non-transitory computer-readable storagemedia.

Alternatively, computer-readable communication media may includecomputer-readable instructions, program modules, or other datatransmitted within a data signal, such as a carrier wave, or othertransmission. However, as used herein, computer-readable storage mediadoes not include computer-readable communication media.

The computing device 1402 may also contain communications connection(s)1428 that allow the computing device 1402 to communicate with a datastore, another computing device or server, user terminals and/or otherdevices via one or more networks. Such networks may include any one or acombination of many different types of networks, such as cable networks,the Internet, wireless networks, cellular networks, satellite networks,other private and/or public networks, or any combination thereof. Thecomputing device 1402 may also include I/O device(s) 1430, such as atouch input device, a keyboard, a mouse, a pen, a voice input device, adisplay, a speaker, a printer, etc.

Turning to the contents of the memory 1414 in more detail, the memory1414 may include an operating system 1432 and/or one or more applicationprograms or services for implementing the features disclosed herein. Thememory 1414 may include image data store 1433 which may be configured tostore image data (e.g., the image data 102 of FIG. 1). The memory 1414may include a plurality of modules for performing functions inaccordance with at least one embodiment. The modules may include a userinterface module 1434, a landmark identification module 1436, a maskgeneration module 1438, a noise reduction module 1436, and a virtuallighting adjustment module 1442. The modules may be software modules,hardware modules, or a combination thereof. If the modules are softwaremodules, the modules can be embodied on a computer readable medium andprocessed by a processor in any of the computer systems describedherein. It should be noted that any module, may be, in some embodiments,a service responsible for managing data of the type required to makecorresponding calculations.

In some examples, the user interface module 1434 may be configured toprovide the user interface 200 at the computing device 1402 (e.g., at adisplay of the I/O Device(s) 1430). As part of providing the userinterface 200, the user interface module 1434 may be configured toretrieve image data (e.g., from image data store 1433) for presenting adigital image at the user interface 200. In some examples, the imagedata may include headshot image data corresponding to a headshot of asubject of the digital image. In some examples, the user interfacemodule 1434 may present the user interface 200, or any suitable userinterface for presenting and/or modifying image data. Additionally, insome examples, the user interface module 1434 may be configured toreceive and/or interpret user input, user interface element selections,and/or gesture information (e.g., via touch screen) for interacting withthe user interface 200. In some embodiments, the user interface module1434 may be configured to provide image data and/or informationregarding user interface element selections to landmark identificationmodule 1436.

In at least one embodiment, landmark identification module 1436 may beconfigured to obtain a set of landmark points corresponding to imagedata. The landmark identification module 1436 may request the set oflandmark points from a source of landmark points. By way of example, thelandmark identification module 1436 may request landmark points from asystem or service responsible for determining a set of landmark pointsfrom image data. In some examples, the request may include the imagedata and a response may be returned (e.g., via the applicationprogramming interface) corresponding to a set of landmark points. Theset of landmark points requested/returned may correspond to a portion ofthe image data (e.g., headshot image data) or the set of landmark pointsrequested/returned may correspond to one or more particular featureareas (e.g., a nose area, an eye area, an eyebrow area, a mouth area, adental area, or the like).

In at least one embodiment, the landmark identification module 1436 maybe configured to determine a set of landmark points from the image data.Image data may be provided by the landmark identification module 1436 asinput to a machine learning model. The machine learning model may betrained (e.g., utilizing supervised learning techniques) with historicalfigures for which a landmark points are known. Accordingly, the machinelearning model may be utilized to identify a single pixel and area,where the single pixel most closely resembles corresponding landmarkpoints of historical images.

In at least one embodiment, the mask generation module 1438 may beconfigured to generate a mask (e.g., the mask 502 of FIG. 5) from a setof landmark points. By way of example, the mask generation module 1438may receive a set of landmark points obtained by the landmarkidentification module 1436. The set of landmark points may correspond toone or more areas (e.g., a facial area, a mouth area, a dental area, aneye area, an eyebrow area, or the like). Based at least in part on apredefined protocol set, the mask generation module 1438 may beconfigured to generate a mask (or a 3D model) corresponding to a facialarea. In some examples, the mask generation module 1438 may exclude fromthe mask one or more sub-areas such as any suitable combination of aneye area, an eyebrow area, a mouth area, a dental area, or the like. Asa non-limiting example, the mask may exclude two eye areas and a moutharea. In some examples, the mask generation module 1438 may generateadditional masks corresponding to any suitable combination of an eyearea, an eyebrow area, a mouth area, a dental area, or the like. Themask may be generated based at least in part on defining a bounded areafrom the set of landmark points. The mask (e.g., the 3D model) maycorrespond to 2D information and/or depth measurement values of theimage data. Thus, in some examples, adjustments (e.g., lightingadjustments) applied to the mask may be converted and similarly appliedto the image data at any suitable time.

In at least one embodiment, the noise reduction module 1440 may beconfigured to perform any suitable combination of noise reductiontechniques utilizing the mask generated by the mask generation module1438 and/or image data. For example, a contrast adjustment algorithm maybe used to reduce local contrast of the image data within the areacorresponding to the mask. In some embodiments, facial features such asfreckles, birthmarks, or the like may be removed from the mask. Even iffacial features are not detected, a contrast adjustment algorithm may beapplied to the image to increase and/or decrease the contrast of theimage. In some embodiments, the contrast adjustment algorithm maycorrespond to a linear filter such a Gaussian mask that compriseselements determined by a Gaussian function. In this case, the value ofeach pixel of the image data (e.g., corresponding to the mask) may bebrought closer in harmony with the values of its neighbors. A smoothingfilter may set each pixel to the average value, or a weighted average,of itself and its nearby neighbors. In some embodiments, a smoothingfilter may blur an image to remove significantly higher and/or lowerpixel intensity values as such values may skew an average/weightedaverage of the neighborhood. Other suitable noise reduction techniquesmay be used such as adaptive filters, non-linear filters, and/or medianfilters as would be apparent to one skilled in the art of noisereduction. In at least one example, the noise reduction module 1440 maybe configured to store modified image data corresponding to the imageafter one or more noise related algorithms have been utilized to reduceor increase noise within the image.

In at least one embodiment, the virtual lighting adjustment module 1442may be configured to receive or obtain image data. In some embodiments,the virtual lighting adjustment module 1442 may obtain the image datafrom the image data store 1433 and/or the noise reduction module 1440.The image data received/obtained may be original image data as capturedby an image capture device (e.g., a camera) or the received/obtainedimage data may be image data for which one or more noise reductionalgorithms have been applied. In at least one embodiment, the virtuallighting adjustment module 1442 may be configured to receive/obtain amask for the image data (e.g., from the mask generation module 1438 or asuitable storage location configured to store masks).

The virtual lighting adjustment module 1442 may be configured toreceive/obtain information corresponding to a lighting adjustment modeselected by a user. Depending on the lighting adjustment mode selected,the virtual lighting adjustment module 1442 may identify a protocol set(e.g., rules) that define a set of lighting adjustments to be made tothe image data. The protocol set associated with a lighting adjustmentmode may define a number (and in some cases an order) of lightingadjustments corresponding to one or more virtual lights, virtual lightremoval, and/or shadow areas. The protocol set may further define anamount or degree by which a luminance of a pixel is to be adjusted basedat least in part on a depth measurement value. In some embodiments,pixels may be lightened or darkened based, at least in part, on atilt/rotation/orientation of at least one of: the subject of the image,a mask, or a feature area. Specific lighting adjustments correspondingto a variety of lighting modes are discussed above with respect to FIGS.11-13.

In some embodiments, the virtual lighting adjustment module 1442 may beconfigured to apply the lighting adjustments (e.g., as defined by theprotocol set corresponding to the lighting adjustment mode) to imagedata (e.g., headshot image data), a mask, and/or a facial area. Ifapplied to a mask, the virtual lighting adjustment module 1442 may beconfigured to determine corresponding pixels of the image data thatcorrespond to points within the mask. Once determined, the virtuallighting adjustment module 1442 may cause the virtual lightingadjustments to be applied to the image data. In at least one embodiment,the virtual lighting adjustment module 1442 may be configured to providemodified image data (e.g., corresponding to the image data after thevirtual lighting adjustments have been applied) via the computing device1402. By way of example, the virtual lighting adjustment module 1442 maybe configured to present the modified image data at the user interface200 (e.g., via a display of the computing device 1402).

FIGS. 15-17 illustrate simplified flow diagrams showing respectivemethods 1500, 1600, and 1700 for providing lighting mode adjustments toimage data as described herein. These methods 1500, 1600, and 1700 areillustrated as logical flow diagrams, each operation of which representsa sequence of operations that can be implemented in hardware, computerinstructions, or a combination thereof. In the context of computerinstructions, the operations represent computer-executable instructionsstored on one or more computer-readable storage media that, whenexecuted by one or more processors, perform the recited operations.Generally, computer-executable instructions include routines, programs,objects, components, data structures, and the like that performparticular functions or implement particular data types. The order inwhich the operations are described is not intended to be construed as alimitation, and any number of the described operations can be combinedin any order and/or in parallel to implement the processes.

Additionally, some, any, or all of the processes may be performed underthe control of one or more computer systems configured with executableinstructions and may be implemented as code (e.g., executableinstructions, one or more computer programs, or one or moreapplications) executing collectively on one or more processors, byhardware, or combinations thereof. As noted above, the code may bestored on a computer-readable storage medium, for example, in the formof a computer program comprising a plurality of instructions executableby one or more processors. The computer-readable storage medium isnon-transitory.

FIG. 15 is a simplified flow diagram illustrating an example method 1500for modifying image data according to a virtual lighting mode, accordingto at least one embodiment. In some examples, the method 1500 may beperformed by the computing device 1402 of FIG. 14. The method 1500 maybegin at 1502 where a user interface for modifying image data may bepresented by an electronic device (e.g., the computing device 1402utilizing the user interface module 1434 of FIG. 14). In someembodiments, the image data including headshot image data. By way ofexample, the user interface 200 may be presented on the computing device1402 (e.g., via a display of the computing device 1402) to enable a userto modify the image data 102 of FIG. 1 (e.g., corresponding to the image203 of FIG. 2).

At 1504, user input may be received at the user interface (e.g., theuser interface 200). In some embodiments, the user input may indicate aselection of a virtual lighting mode (e.g., a contour mode, a studiomode, a stage mode, a black and white stage mode, etc.).

At 1506, a plurality of landmark points may be identified (e.g., by thelandmark identification module 1436 of FIG. 14) from the headshot imagedata. In some embodiments, each of the plurality of landmark points maycorrespond to a set of pixels of the headshot image data. The pluralityof landmark points may individually be identified based at least in parton depth measurement values associated with the set of pixels.

At 1508, one or more masks (e.g., any of the masks discussed herein) maybe determined (e.g., by the mask generation module 1438) for theheadshot image data. In some embodiments, the mask may correspond to aset of pixel locations of an area of the headshot image data. The maskmay be determined (generated) based at least in part on the plurality oflandmark points. In some embodiments, areas of the headshot image datamay be determined based on the plurality of landmark points and animplied geometry of the plurality of landmark points.

At 1510, the headshot image data may be modified (e.g., by the virtuallighting adjustment module 1442 of FIG. 14) by applying a subset of aplurality of virtual lighting adjustments to the headshot image dataaccording to the one or more mask(s). By way of example, the virtuallighting adjustments may be applied to a mask (e.g., a 3D model) andcorresponding pixels of the headshot image data may be adjustedaccording to the modified mask. In some embodiments, the headshot imagedata may be modified (e.g., by the virtual lighting adjustment module1442 of FIG. 14) by applying a subset of a plurality of virtual lightingadjustments to the headshot image data according to a set of landmarkpoints and an implied geometry of the set of landmark points. In someembodiments, the headshot image data may be modified based at least inpart on the selection of the virtual lighting mode selected and thedepth measurement values associated with the set of pixels. In otherwords, the depth measurement values of the set of pixels (e.g.,corresponding to an area of a mask or a set of landmark points) mayinfluence an amount by which luminance is adjusted for the set ofpixels. Pixels having a deeper depth may be adjusted less significantlythan pixels that have a more shallow depth.

FIG. 16 is a simplified flow diagram illustrating an example process1600 for modifying image data according to a virtual contour lightingmode selection as described herein, according to at least oneembodiment. In some examples, the process 1600 may be performed by thecomputing device 1402 of FIG. 14. The process 1600 may begin at 1602where a user interface for modifying image data may be presented by anelectronic device (e.g., the computing device 1402 utilizing the userinterface module 1434 of FIG. 14). In some embodiments, the image dataincluding headshot image data. By way of example, the user interface 200may be presented on the computing device 1402 (e.g., via a display ofthe computing device 1402) to enable a user to modify the image data 102of FIG. 1 (e.g., corresponding to the image 203 of FIG. 2).

At 1604, user input may be received at the user interface (e.g., theuser interface 200). In some embodiments, the user input may indicate aselection of a virtual contour lighting mode. The virtual contourlighting mode may be associated with a protocol set that defines howvirtual lighting adjustments are to be made. The protocol set may definelocations, areas, and/or amounts/percentages by which luminanceincreases/decreases are to be made with image data (including headshotimage data) and/or a mask.

At 1606, a plurality of landmark points may be identified (e.g., by thelandmark identification module 1436 of FIG. 14) from the headshot imagedata. In some embodiments, each of the plurality of landmark points maycorrespond to a set of pixels of the headshot image data. The pluralityof landmark points may individually be identified based at least in parton depth measurement values associated with the set of pixels.

At 1608, a mask (e.g., one or more masks of the above figures) may bedetermined (e.g., by the mask generation module 1438) for the headshotimage data. In some embodiments, the mask may correspond to a set ofpixel locations of an area of the headshot image data. The mask may bedetermined (generated) based at least in part on the plurality oflandmark points. In some embodiments, the lighting adjustments discussedwith respect to FIG. 16 may utilize the one or more masks and/or one ormore sets of landmark points and an implied geometry of the one or moresets of landmark points.

At 1610, luminance of a first plurality of pixels associated with aforehead area, an under-eye area, and a chin area of the mask(s) may beincreased according to the selection of the virtual contour lightingmode. By way of example, the luminance may be adjusted as depicted at1102 of FIG. 11.

At 1612, luminance of a second plurality of pixels associated with aside area of the one or more masks may be increased according to theselection of the virtual contour lighting mode. By way of example, theluminance may be adjusted as depicted at 1104 of FIG. 11.

At 1614, luminance of a third plurality of pixels associated with a sidenose area of the mask may be decreased according to the selection of thevirtual contour lighting mode. By way of example, the luminance may beadjusted as depicted at 1106 of FIG. 11.

At 1616, luminance of a fourth plurality of pixels associated with aside nose area of the mask may be decreased according to the selectionof the virtual contour lighting mode. By way of example, the luminancemay be adjusted as depicted at 1108 of FIG. 11.

At 1618, luminance of a fifth plurality of pixels associated with a neckarea of the headshot image data may be decreased according to theselection of the virtual contour lighting mode. By way of example, theluminance may be adjusted as depicted at 1110 of FIG. 11.

FIG. 17 is a simplified flow diagram illustrating an example process1700 for modifying image data according to a virtual studio modeselection as described herein, according to at least one embodiment. Insome examples, the process 1700 may be performed by the computing device1402 of FIG. 14. In some embodiments, the lighting adjustments discussedwith respect to FIG. 17 may utilize the one or more masks and/or one ormore sets of landmark points and an implied geometry of the one or moresets of landmark points.

The process 1700 may begin at 1702 where a user interface for modifyingimage data may be presented by an electronic device (e.g., the computingdevice 1402 utilizing the user interface module 1434 of FIG. 14). Insome embodiments, the image data including headshot image data. By wayof example, the user interface 200 may be presented on the computingdevice 1402 (e.g., via a display of the computing device 1402) to enablea user to modify the image data 102 of FIG. 1 (e.g., corresponding tothe image 203 of FIG. 2).

At 1704, user input may be received at the user interface (e.g., theuser interface 200). In some embodiments, the user input may indicate aselection of a virtual studio lighting mode. The virtual studio lightingmode may be associated with a protocol set that defines how virtuallighting adjustments are to be made. The protocol set may definelocations, areas, and/or amounts/percentages by which luminanceincreases/decreases are to be made with image data (including headshotimage data) and/or one or more masks.

At 1706, a plurality of landmark points may be identified (e.g., by thelandmark identification module 1436 of FIG. 14) from the headshot imagedata. In some embodiments, each of the plurality of landmark points maycorrespond to a set of pixels of the headshot image data. The pluralityof landmark points may individually be identified based at least in parton depth measurement values associated with the set of pixels.

At 1708, one or more masks (e.g., any of the masks described in theabove figures) may be determined (e.g., by the mask generation module1438) for the headshot image data. In some embodiments, the mask maycorrespond to a set of pixel locations of an area of the headshot imagedata. The mask(s) may be determined (generated) based at least in parton the plurality of landmark points.

At 1710, luminance of a first plurality of pixels associated with aforehead area of the one or more masks may be increased according to theselection of the virtual contour lighting mode. By way of example, theluminance may be adjusted using the lighting adjustment area 602 asdepicted at 1102 of FIG. 11.

At 1712, luminance of a second plurality of pixels associated with anunder-eye area of the one or more masks may be increased according tothe selection of the virtual contour lighting mode. By way of example,the luminance may be adjusted using the lighting adjustment area 604 asdepicted at 1202 of FIG. 12.

At 1714, luminance of a third plurality of pixels associated with a chinarea of the one or more masks may be increased according to theselection of the virtual contour lighting mode. By way of example, theluminance may be adjusted using the lighting adjustment area 608 asdepicted at 1204 of FIG. 12.

At 1716, luminance of a fourth plurality of pixels associated with aside area of the one or more masks may be increased according to theselection of the virtual contour lighting mode. By way of example, theluminance may be adjusted as depicted at 1206 of FIG. 12.

At 1718, luminance of a fifth plurality of pixels associated with a nosearea of the headshot image data may be increased according to theselection of the virtual contour lighting mode. By way of example, theluminance may be adjusted as depicted at 1208 of FIG. 12.

What is claimed is:
 1. A method, comprising: presenting, by anelectronic device, a user interface for modifying image data, the imagedata including headshot image data; receiving, at the user interface,user input indicating selection of a virtual lighting mode; identifyinga plurality of landmark points from the headshot image data, each of theplurality of landmark points corresponding to a set of pixels of theheadshot image data, the plurality of landmark points individually beingidentified based at least in part on depth measurement values associatedwith the set of pixels; determining one or more masks for the headshotimage data, a mask of the one or more masks corresponding to a set ofpixel locations of an area of the headshot image data, the one or moremasks being determined based at least in part on the plurality oflandmark points; and modifying the headshot image data by applying asubset of a plurality of virtual lighting adjustments to the headshotimage data at least in part according to at least one of the one or moremasks, the headshot image data being modified based at least in part onthe selection of the virtual lighting mode selected and the depthmeasurement values associated with the set of pixels.
 2. The method ofclaim 1, wherein the presenting further comprises: capturing by an imagecapture device of the electronic device, the image data including theheadshot image data; and displaying, on a display of the electronicdevice, a preview of the image data including the headshot image data.3. The method of claim 1, wherein the modifying further comprising:displaying, on the display of the electronic device, a preview of themodified headshot image data.
 4. The method of claim 1, whereindetermining the one or more masks further comprises: determining atleast one feature area of the headshot image data, the feature areacorresponding to a plurality of pixels of the image data, the featurearea corresponding to at least one of: a nose area of the subject, atleast one eye area of the subject, a mouth area of the subject, a dentalarea of the subject, or at least one facial hair area of the subject;and excluding the at least one sub-area from the one or more masks ofthe subject of the image.
 5. The method of claim 1, wherein the subsetof the plurality of virtual lighting adjustments comprises at least oneof: a virtual spotlight lighting adjustment that increases luminance ofa first group of pixels associated with a first sub-area of the one ormore masks; a virtual strobe light lighting adjustment that increasesluminance of a second group of pixels associated with a second sub-areaof the one or more masks; and a virtual kick light lighting adjustmentthat increases luminance of a third group of pixels associated with aside portion of the one or more masks.
 6. The method of claim 4, whereinthe luminance of the first group of pixels is increased based at leastin part comparing an area size corresponding to sub-area of the one ormore masks to a total area of an image defined by the image data.
 7. Themethod of claim 1, further comprising: darkening a sub-area of the oneor more masks utilizing a virtual light removal technique based at leastin part on the virtual lighting mode selected.
 8. The method of claim 4,further comprising: identifying an orientation and a tilt of the maskbased at least in part on the headshot image data; and determiningdimensions of a plurality of lighting adjustment areas corresponding tosub-areas of the one or more masks based at least in part on theorientation and the tilt, the plurality of lighting adjustment areasbeing utilized to apply the subset of the plurality lighting adjustmentsto the headshot image data in accordance with the one or more masks. 9.A method, comprising: presenting, by an electronic device, a userinterface for modifying image data, the image data including headshotimage data; receiving, at the user interface, user input indicatingselection of a virtual contour lighting mode; identifying a plurality oflandmark points from the headshot image data, each of the plurality oflandmark points corresponding to a set of pixels of the headshot imagedata; determining one or more masks for the headshot image data, a maskof the one or more masks corresponding to a set of pixel locations of anarea of the headshot image data, the mask being determined based atleast in part on the plurality of landmark points; increasing, accordingto the selection of the virtual contour lighting mode, luminance of afirst plurality of pixels associated with a forehead area, an under-eyearea, and a chin area of the one or more masks; decreasing, according tothe selection of the virtual contour lighting mode, luminance of asecond plurality of pixels associated with a side area of the one ormore masks; increasing, according to the selection of the virtualcontour lighting mode, luminance of a third plurality of pixelsassociated with a side nose area of the one or more masks; increasing,according to the selection of the virtual contour lighting mode,luminescence of a fourth plurality of pixels associated with a nose areaof the one or more masks; and decreasing, according to the selection ofthe virtual contour lighting mode, luminance of a fifth plurality ofpixels associated with the neck area of the headshot image data.
 10. Themethod of claim 9, further comprising: modifying the headshot image databy executing at least one contrast reduction algorithm, whereinexecuting the contrast reduction algorithm causes image noise to bereduced with the headshot image data.
 11. The method of claim 10,wherein the at least one contrast reduction algorithm comprises at leastone of: a Gaussian mask, a smoothing filter, a linear filter, anon-linear filter, or a median filter.
 12. The method of claim 9,wherein the neck area of the headshot image data is defined in relationto plurality of landmark points.
 13. The method of claim 8, wherein themask is further determined by: identifying two eye-areas of the mask anda mouth area of the one or more masks; and excluding the two eye-areasand the mouth area from the one or more masks.
 14. A method, comprising:presenting, by an electronic device, a user interface for modifyingimage data, the image data including headshot image data; receiving, atthe user interface, user input indicating selection of a virtual studiolighting mode; identifying a plurality of landmark points from theheadshot image data, each of the plurality of landmark pointscorresponding to a set of pixels of the headshot image data; determiningone or more masks for the headshot image data, a mask of the one or moremasks corresponding to a set of pixel locations of an area of theheadshot image data, the mask being determined based at least in part onthe plurality of landmark points; increasing, according to the selectionof virtual studio lighting mode, luminance of a first plurality ofpixels associated with a forehead area of the one or more masks;increasing, according to the virtual studio lighting mode selected,luminance of a second plurality of pixels associated with an under-eyearea of the one or more masks; increasing, according to the virtualstudio lighting mode selected, luminance of a third plurality of pixelsassociated with a chin area of the one or more masks; increasing,according to the virtual studio lighting mode selected, luminance of afourth plurality of pixels associated with a side area of the one ormore masks; and increasing, according to the virtual studio lightingmode selected, luminance of a fifth plurality of pixels associated withnose area of the one or more masks.
 15. The method of claim 14, whereinthe luminance is increased for the first plurality of pixels, the secondplurality of pixels, the third plurality of pixels, the fourth pluralityof pixels and the fifth plurality of pixels utilizing correspondinglighting adjustment areas, the light adjustment area defining a boundarywithin which adjustments in luminance are made.
 16. The method of claim14, wherein widths of the lighting adjustment areas are based at leastin part on an orientation of a subject of the image data.
 17. The methodof claim 14, further comprising: determining a plurality of masks for aplurality of subjects of the image data, the plurality of maskscorresponding to pixel sets associated with a plurality of subjects ofthe image data, the plurality of masks being determined based at leastin part on the plurality of landmark points; and increasing, accordingto the selection of the studio lighting mode, luminance of the pixelsets according to a predefined scheme associated with the studiolighting mode selected.
 18. The method of claim 14, further comprising:filtering noise of the headshot image data utilizing a local contrastreduction algorithm.
 19. The method of claim 14, wherein an amount bywhich the luminance is increased is based at least in part a first areaof the one or more masks relative to a second area of a total imagedefined by the image data.
 20. The method of claim 14, wherein an amountby which the luminance is increased is based at least in part on a tiltof a subject of the headshot image data.